<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>注册</title>
</head>
<body>
    <form action="/servlet/servlet_request"
          method="post"
    >
        <fieldset>
            <legend>基本信息</legend>
            用户名:
            <input type="text" name="username" value="sline" required="required"/>
            <br/>
            密码:
            <input type="password" name="password" value="abc123" required="required"/>
            <br/>
            性别:
            <input type="radio" name="sex" value="0"/>女
            <input type="radio" name="sex" value="1" checked="checked"/>男
            <br/>
            兴趣爱好:
            <input type="checkbox" name="hobby" value="0" checked="checked"/>Java
            <input type="checkbox" name="hobby" value="1" checked="checked"/>iOS
            <input type="checkbox" name="hobby" value="2"/>PHP
            <input type="checkbox" name="hobby" value="3"/>CPP
            <br />
            <input type="submit" value="立即注册"/>

        </fieldset>
    </form>
</body>
</html>